#include "listMy.h"
#include<vector>
using namespace ForcibleBugMaker;

int main()
{
	list<int> lt;
	lt.push_back(1);
	lt.push_back(2);
	lt.push_back(3);
	lt.push_back(4);
	lt.push_back(5);
	lt.push_back(6);

	list<int>::iterator it = lt.begin();
	while (it != lt.end()) {
		cout << *it << " ";
		it++;
	}
	cout << endl;

	list<int> lt2;
	lt2 = lt;

	for (auto e : lt2) {
		cout << e << " ";
	}
	cout << endl;

	std::vector<int> v({ -1,-1,-1,-1 });
	list<int> lt3(v.begin(), v.end());

	lt3.clear();

	for (auto e : lt3) {
		cout << e << " ";
	}
	cout << endl;

	cout << lt3.size() << endl;
	cout << lt3.empty() << endl;


	return 0;
}